class BaseApi < Grape::API
    def resp_success(data)
    return {
        code: 200,
        message: '',
        data: data
    }
    end

    def resp_error(data, msg)
    {
        code: 500,
        message: msg,
        data: data
    }
    end
end